const formreducer = (state, action) => {
    switch (action.type) {
        case 'formChange':
            return {
                ...state,
                ...action.payload,
            };
        default:
            return state;
    }

}
export default formreducer